package simple.form.controller.annotation;

import simple.form.cache.Key;
import simple.form.core.RequestBean;

import java.lang.annotation.*;

/**
 * 控制器
 * Created by Administrator on 2017/2/15.
 */
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface RequestMapping {
    /*请求url*/
    String url() default "";
    /*以什么作为缓存的key*/
    Class<? extends RequestBean> cacheKey() default RequestBean.class;
}
